package com.ruoyi.game.mapper;

import com.ruoyi.game.domain.entity.GamePick3Record;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * pick3开奖记录Mapper接口
 * 
 * @author ruoyi
 * @date 2024-05-13
 */
public interface GamePick3RecordMapper 
{
    /**
     * 查询pick3开奖记录
     * 
     * @param id pick3开奖记录主键
     * @return pick3开奖记录
     */
    public GamePick3Record selectGamePick3RecordById(String id);

    /**
     * 查询pick3开奖记录列表
     * 
     * @param gamePick3Record pick3开奖记录
     * @return pick3开奖记录集合
     */
    public List<GamePick3Record> selectGamePick3RecordList(GamePick3Record gamePick3Record);

    /**
     * 新增pick3开奖记录
     * 
     * @param gamePick3Record pick3开奖记录
     * @return 结果
     */
    public int insertGamePick3Record(GamePick3Record gamePick3Record);

    /**
     * 修改pick3开奖记录
     * 
     * @param gamePick3Record pick3开奖记录
     * @return 结果
     */
    public int updateGamePick3Record(GamePick3Record gamePick3Record);

    /**
     * 删除pick3开奖记录
     * 
     * @param id pick3开奖记录主键
     * @return 结果
     */
    public int deleteGamePick3RecordById(String id);

    /**
     * 批量删除pick3开奖记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGamePick3RecordByIds(String[] ids);

    List<GamePick3Record> page(@Param("timeLimit")int timeLimit);
}
